# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

import scrapy

class Torrent(scrapy.Item):
    title = scrapy.Field()
    post_at = scrapy.Field()
    file_size = scrapy.Field()
    file_cnt = scrapy.Field()
    visit_cnt = scrapy.Field()
    visit_hot = scrapy.Field()
    thunder_link = scrapy.Field()
    magnet_link = scrapy.Field()
    file_list = scrapy.Field()

class RobotItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


class Novel(scrapy.Item):
    id = scrapy.Field()
    title = scrapy.Field()
    summary = scrapy.Field()
    category = scrapy.Field()
    tags = scrapy.Field()
    author = scrapy.Field()
    source_url = scrapy.Field()


class Chapter(scrapy.Item):
    id = scrapy.Field()
    title = scrapy.Field()
    parent = scrapy.Field()
    book_id = scrapy.Field()
    sort_no = scrapy.Field()
    source_url = scrapy.Field()
    content = scrapy.Field()


class Book(scrapy.Item):
    slug = scrapy.Field()
    title = scrapy.Field()
    sub_title = scrapy.Field()
    author = scrapy.Field()
    isbn = scrapy.Field()
    year = scrapy.Field()
    page_cnt = scrapy.Field()
    language = scrapy.Field()
    file_size = scrapy.Field()
    file_format = scrapy.Field()
    category = scrapy.Field()
    source_url = scrapy.Field()
    download_url = scrapy.Field()
    cover_url = scrapy.Field()
    summary = scrapy.Field()
